import axios from '@/libs/apiRequest'

export const getShopList = (data) => {
  return axios.request({
    url: '/api/customer/shops',
    data: data,
    method: 'post',
    hideLoading:true
  })
}
export const getShopById = (data) => {
  return axios.request({
    url: '/api/customer/shopbyid',
    data: data,
    method: 'post',
    hideLoading: true
  })
}

export const addNotifier = (data) => {
  return axios.request({
    url: '/api/customer/addnotifier',
    data: data,
    method: 'post',
    hideLoading: true
  })
}

export const getDeviceList = (data) => {
  return axios.request({
    url: '/api/customer/devices',
    data: data,
    method: 'post',
    hideLoading: true
  })
}
export const uploadDutyLetter = (data) => {
  return axios.request({
    url: '/api/customer/dutyletter',
    data: data,
    method: 'post',
      hideLoading: true
  })
}


